package cn.wk.client;

import cn.wk.domain.LoginUser;
import cn.wk.util.AjaxResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(value = "AUTH-SERVICE",fallbackFactory = AuthFeignFallbackFactory.class)
public interface AuthFeign {
    @PutMapping("/loginUser/save")
    AjaxResult addOrUpdate(@RequestBody LoginUser loginUser);
}
